﻿<div class="clear" style="height:20px;"></div>
﻿<div id="ifooter">
	
	<php>
		$controller = request()->controller();
	</php>
	
	<div class="link">
	<if condition="$controller eq 'Index'">
	  <div class="link_left">友情链接</div>
	  <div class="link_right">
	  	 <links>
            <a href="{$vo.url|default=''}" target="{$vo.target|default=''}">{$vo.name|default=''}</a>&nbsp;
     	</links>
	  </div>
	</if>
	</div>
	
	<div class="ifootnav">
		<!--后台导航 id 为1-->
		<navigation nav-id="2" root="" id="top-nav" >
		    <navigationMenu root="" >
		        <a href="{$menu.href|default=''}" target="{$menu.target|default=''}">{$menu.name|default=''}</a><span>|</span>
		    </navigationMenu>
		</navigation>
	</div>
	<div class="copyright">
	版权所有 Copyright © 2018-2019{$site_info.site_name}&nbsp;&nbsp;技术支持：<a href='http://www.huyang1688.com'>胡杨网络</a>&nbsp;&nbsp;<a href='/admin' target='_blank'>后台管理</a> 
	</div> 
</div>

<script>
$(function() {
	// 悬浮窗口
	$(".yb_conct").hover(function() {
		$(".yb_conct").css("right", "5px");
		$(".yb_bar .yb_ercode").css('height', '200px');
	}, function() {
		$(".yb_conct").css("right", "-127px");
		$(".yb_bar .yb_ercode").css('height', '53px');
	});
	// 返回顶部
	$(".yb_top").click(function() {
		$("html,body").animate({
			'scrollTop': '0px'
		}, 300)
	});
});
</script>
<div class="yb_conct" style="right: -127px;">
  <div class="yb_bar">
    <ul>
      <li class="yb_top">返回顶部</li>
      <li class="yb_phone">{$site_info.site_phone}</li>      
      <li class="yb_QQ"> <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$site_info.site_qq}&site=qq&menu=yes" title="qq">在线咨询</a> </li>
      <li class="yb_ercode" >手机打开网站 <br>
        <img class="hd_qr" src="__TMPL__/templates/default/images/ewm.png" alt="微信" > </li>
    </ul>
  </div>
</div>
